projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b967a40
)
Don't use 57.6 and 115.2 if we don't have them.
author
robertl
<robertl>
Wed, 22 Jan 2003 02:53:24 +0000
(
02:53
+0000)
committer
robertl
<robertl>
Wed, 22 Jan 2003 02:53:24 +0000
(
02:53
+0000)
magproto.c
patch
|
blob
|
history
diff --git
a/magproto.c
b/magproto.c
index cf945397a1a9387aa2dfdccdbc1df9c5ee1a9bd9..3ca11c8d25fda2cb90d2595e83956c3588d2b2e3 100644
(file)
--- a/
magproto.c
+++ b/
magproto.c
@@
-585,8
+585,12
@@
mkspeed(unsigned br)
case 4800: return B4800;
case 9600: return B9600;
case 19200: return B19200;
+#if defined B57600
case 57600: return B57600;
+#endif
+#if defined B115200
case 115200: return B115200;
+#endif
default: return B4800;
}
}